import { createRouter, createWebHistory, createWebHashHistory } from 'vue-router'

const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      redirect: '/home',
    },
    {
      path: '/home',
      name: 'home',
      component: () => import('../views/Home.vue')
    },
    {
      path: '/heatingConsultation',
      name: 'heatingConsultation',
      component: () => import('../views/HeatingConsultation.vue')
    },
    {
      path: '/heatingConsultation2',
      name: 'heatingConsultation2',
      component: () => import('../views/HeatingConsultation2.vue')
    }
  ],
})

export default router
